<template>

    <div>
        <Head/>
        <img src="../../assets/img/one.png" alt="" class="one">
        <div class="out">
            <div class="box">
                <div class="a1">
                    <div>{{ $t('m.当前登陆地址') }}</div>
                    <div>0x4379066D6eaeC5D03AAB0a959CC9047a844Daf63</div>
                </div>
                <div class="a2">
                    {{ $t('m.今日收益') }}
                </div>
                <div class="a3">
                    5214.6920
                    <span>USD</span>
                </div>
                <div class="a4">
                    <div>
                        {{ $t('m.我的等级') }}
                    </div>
                    <div>V7
                        <img src="../../assets/img/lv.png" alt=""></div>
                </div>
                <div class="a5">
                    <div class="item">
                        <div class="label">{{ $t('m.我的等级') }}</div>
                        <div class="num">
                            <div>22</div>
                            <div>{{ $t('m.人') }}</div>
                        </div>
                    </div>
                    <div class="item">
                        <div class="label">{{ $t('m.团队人数') }}</div>
                        <div class="num">
                            <div>22</div>
                            <div>{{ $t('m.人') }}</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="cell">
                <div class="lefr">
                    <div><img src="../../assets/img/icon1.png" alt=""></div>
                    <div>
                        {{$t('m.邀请好友')}}
                    </div>
                </div>
                <div class="right">
                    <img src="../../assets/img/right.png" alt="">
                </div>
            </div>

            <div class="cell">
                <div class="lefr">
                    <div><img src="../../assets/img/icon1.png" alt=""></div>
                    <div>
                        {{$t('m.我的收益')}}
                    </div>
                </div>
                <div class="right">
                    <img src="../../assets/img/right.png" alt="">
                </div>
            </div>
            
            
            <div class="two">
                <div class="svg-container">
                    <svg viewBox="0 0 80 56" xmlns="http://www.w3.org/2000/svg">
                        <text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="40" font-family="Arial" fill="none" stroke="#ffffff99" stroke-width="1">
                            {{$t('m.使用')}}
                        </text>
                    </svg>
                </div>
                <div class="svg-container" style="width: 164px; height: 56px;">
                    <svg viewBox="0 0 164 56" xmlns="http://www.w3.org/2000/svg">
                        <defs>
                            <linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="0%">
                                <stop offset="0%" style="stop-color:#f97a29;stop-opacity:1" />
                                <stop offset="24.88%" style="stop-color:#eee80a;stop-opacity:1" />
                                <stop offset="68.5%" style="stop-color:#57eb68;stop-opacity:1" />
                                <stop offset="100%" style="stop-color:#2ad49e;stop-opacity:1" />
                            </linearGradient>
                        </defs>
                        <text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="40" font-family="Arial" fill="none" stroke="url(#textGradient)" stroke-width="1">
                            Whale AI
                        </text>
                    </svg>
                </div>
                <div></div>
            </div>
            <div class="two-tip">
                {{$t('m.投资者可以享受到以下几点优势')}}
            </div>

            <div class="cell-list" v-for="(item,index) in list" :key="index">
                <div class="lefr">

                    <div>
                        {{item.label}}
                    </div>
                    <div><img :src="item.icon" alt=""></div>
                </div>
                <div class="right">
                    {{item.text}}
                </div>
            </div>

            <div class="tips">
                {{$t('m.在Whale AI的帮助下，投资者不再是盲目的市场参与者，而是变成了有策略、有准备的智慧型投资者。无论是新手还是资深玩家，Whale AI都将成为你在BSC套利领域中的得力助手')}}
            </div>
        </div>
    </div>

</template>

<script>
export default {
    pass: true,//设置这一行 自动路由会跳过检测
    data() {
        return {
            list:[
                {
                    label:this.$t('m.高效率'),
                    text:this.$t('m.自动化交易，快速响应市场变化'),
                    icon:require('../../assets/img/1.png')
                },
                {
                    label:this.$t('m.低风险'),
                    text:this.$t('m.智能分析，避免人为情绪影响，降低投资风险'),
                    icon:require('../../assets/img/2.png')
                },
                {
                    label:this.$t('m.易操作'),
                    text:this.$t('m.简洁的用户界面，轻松上手，无需专业知识'),
                    icon:require('../../assets/img/3.png')
                },
                {
                    label:this.$t('m.持续优化'),
                    text:this.$t('m.AI的自我学习能力，确保策略与时俱进'),
                    icon:require('../../assets/img/4.png')
                },
            ]
        }
    },
    created() {
    },
    methods: {}

}
</script>

<style lang="less" scoped>
.one {
  margin-top: -57px;
  width: 100%;
}

.box {
  background: url("../../assets/img/homebg.png");
  background-size: 100% 100%;
  padding: 10px;
  margin-top: -35px;
  position: relative;
  z-index: 999;

  .a1 {
    border-radius: 16px;
    background: #061113;
    backdrop-filter: blur(12px);
    padding: 12px 10px;

    & > :nth-child(1) {
      color: #51f2c2;
      font-family: PingFang SC;
      font-size: 12px;
    }

    & > :nth-child(2) {
      color: #ffffff99;
      font-family: Outfit;
      font-weight: 300;
      font-size: 12px;
      margin-top: 4px;
    }
  }

  .a2 {
    margin-top: 16px;
    color: #fdfdfd;
    font-family: PingFang SC;
    font-size: 12px;
  }

  .a3 {
    color: #fdfdfd;
    font-family: Outfit;
    font-weight: 500;
    font-size: 24px;
    margin-top: 8px;

    span {
      color: #061113;
      font-family: Outfit;
      font-size: 12px;
      height: 19px;
      border-radius: 26px;
      background: #bdff00;
      padding: 2px 8px;
      margin-left: 8px;
    }
  }

  .a4 {
    margin-top: 24px;
    .flex-between();
    border-radius: 35px;
    background: #ffffff20;
    padding: 0px 16px 0 0;

    & > :nth-child(1) {
      border-radius: 35px;
      padding: 9px 24px;
      box-sizing: border-box;
      background: rgba(255, 255, 255, 0.5);
      color: #fdfdfd;
      font-family: PingFang SC;
      font-weight: 600;
      font-size: 15px;
      line-height: 22px;
    }

    & > :nth-child(2) {
      color: #fdfdfd;
      font-family: Outfit;
      font-weight: bold;
      font-size: 20px;
      line-height: 26px;
      .flex-row();

      img {
        width: 25px;
        height: 24px;
        margin-left: 7px;
        vertical-align: sub;
      }
    }
  }

  .a5 {
    .flex-between();
    margin-top: 16px;
    .item {
      width: 48%;
      border-radius: 8px;
      background: linear-gradient(180deg, #242a2a 0%, #101519 100%);
      backdrop-filter: blur(12px);
      padding: 10px 12px;

      .label {
        color: #ffffff99;
        font-family: PingFang SC;
        font-size: 13px;
      }

      .num {
          margin-top: 8px;
        .flex-between();
        border-radius: 4px;
        background: linear-gradient(90deg, #f97a2920 0%, #eee80a20 24.88%, #57eb6820 68.5%, #2ad49e20 100%);
    padding: 4px 10px;
        & > :nth-child(1) {
          color: #ffffff;
          font-family: Outfit-SemiBold;
          font-size: 15px;
        }

        & > :nth-child(2) {
          height: 15px;
          color: #ffffff99;
          font-family: PingFang SC;
          font-size: 11px;
        }
      }

    }
  }
}

.cell{
    margin-top: 10px;
    .flex-between();
    position: relative;
    border-radius: 20px;
    box-sizing: border-box;
    background: rgba(69, 69, 69, 0.3); /* #4545454d */
    backdrop-filter: blur(88.2px);
    overflow: hidden;
    padding: 12px 16px;
    .lefr{
        .flex-row();
        img{
            width: 24px;
            height: 24px;
            margin-right: 8px;
        }
        color: #ffffff;
        font-family: PingFang SC;
        font-size: 15px;

    }
    .right{
        img{
            width: 24px;
            height: 24px;
        }
    }
}
.cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px; /* Border width */
    background: conic-gradient(from 180deg at 50% 50%, #f98427 43.2deg, #ffffff0d 133.95deg, #ffffff00 179.36deg, #2ad49e 225.65deg, #ffffff00 270.75deg, #ffffff00 313.24deg, #ffffff00 359.85deg);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.two{
    margin-top: 30px;
    .flex-row();
    &>:nth-child(1){
        font-size: 50px;
        font-weight: bold;
        color: transparent;
        -webkit-text-stroke: 1px black; /* 文字的轮廓颜色和宽度 */
    }
    .svg-container {
        width: 80px;
        height: 56px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

.two-tip{
    color: #2dd69b;
    font-family: PingFang SC;
    font-size: 14px;
}

.cell-list{
    margin-top: 10px;
    position: relative;
    border-radius: 20px;
    box-sizing: border-box;
    //background: rgba(69, 69, 69, 0.3); /* #4545454d */
    backdrop-filter: blur(88.2px);
    overflow: hidden;
    padding: 12px 16px;
    .lefr{
        .flex-between();
        img{
            width: 40px;
            height: 40px;
        }
        color: #f2c315;
        font-family: PingFang SC;
        font-size: 20px;

    }
    .right{
        color: #ffffffbf;
        font-family: PingFang SC;
        font-size: 15px;
        margin-top: 12px;
    }
}
.cell-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px; /* Border width */
    background: conic-gradient(from 180deg at 50% 50%, #f98427 43.2deg, #ffffff0d 133.95deg, #ffffff00 179.36deg, #2ad49e 225.65deg, #ffffff00 270.75deg, #ffffff00 313.24deg, #ffffff00 359.85deg);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.tips{
    margin-top: 24px;
    color: #ffffff99;
    font-family: PingFang SC;
    font-size: 12px;
}
</style>
